<template>
  <div>
    <el-container>
      <el-aside width="auto">
        <Common-aside></Common-aside>
      </el-aside>
      <el-container>
        <el-header>
          <Common-header></Common-header>
        </el-header>
        <el-main>
          <!-- <h1>我是Main</h1> -->
          <!-- 路由出口 -->
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
import CommonAside from "../components/CommonAside.vue";
import CommonHeader from "../components/CommonHeader.vue";
export default {
  data() {
    return {};
  },
  components: { CommonAside, CommonHeader },
};
</script>

<style lang="less" scoped>
.el-header {
  padding: 0;
}
</style>